/**
 * 以下是示例自己参考
 */

import {
	request
} from "../utils/request.js";

/**
 * 获取支付参数api
 * @param {*} data
 */
export const goPay = function(data) {
	return request({
		url: '/wechat/payment',
		method: 'post',
		data,
		// baseUrl:'http://uu2e95.natappfree.cc'
	});
};
/**
 * 获取支付结果
 * @param {*} data
 */
export const findPayResult = function(data) {
	return request({
		url: '/wechat/query',
		method: 'get',
		data,
		// baseUrl:'http://uu2e95.natappfree.cc'
	});
};